package com.heima.utils.thread;

import com.heima.model.wemedia.pojos.WmUser;

public class WmThreadLocalUtil {

    private static final ThreadLocal<WmUser>  threadLoacl=  new ThreadLocal<>();

    public static void set(WmUser wmUser){
        threadLoacl.set(wmUser);
    }


    public static WmUser get(){
        return threadLoacl.get();
    }


    public static void remove(){
        threadLoacl.remove();
    }
}
